package org.qiyu.live.id.generate.provider.service;

/**
 * @ClassName: IdGenerateService
 * @Description: TODO
 * @Author zhangguangyan
 * @Date 2023/07/30/ 10:41:08
 * @Version 1.0
 */
public interface IdGenerateService {

    /**
     * 生成有序id
     *
     * @param code
     * @return
     */
    Long getSeqId(Integer code);

    /**
     * 生成无序id
     *
     * @param code
     * @return
     */
    Long getUnSeqId(Integer code);
}